package com.wh.wisdomsite.xbox.ba.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * xbox框架-IP库定位模型
 * @Package com.wh.wisdomsite.xbox.ba.entity
 * @author 谢泽鹏
 * @date 2014年10月8日 下午4:02:14
 * @Copyright 个人版权所有
 * @Company 贵州万华科技有限公司Copyright (c) 2014
 * @version V1.0
 */
@TableName("XBOX_IP_LOCATION")
public class XboxIpLocation extends Model<XboxIpLocation> {

    /**
     * ip标识
     */
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 主表ID
     */
    @TableField("T_LID")
    private String lid;

    /**
     * 省份
     */
    @TableField("T_PROVINCE")
    private String province;

    /**
     * 城市
     */
    @TableField("T_CITY")
    private String city;

    /**
     * 城市代码
     */
    @TableField("T_CITY_CODE")
    private String cityCode;

    /**
     * 区县
     */
    @TableField("T_DISTRICT")
    private String district;

    /**
     * 街道
     */
    @TableField("T_STREET")
    private String street;

    /**
     * 门牌号
     */
    @TableField("T_STREET_NUMBER")
    private String streetNumber;

    /**
     * 经度
     */
    @TableField("T_LONGITUDE")
    private String longitude;

    /**
     * 纬度
     */
    @TableField("T_LATITUDE")
    private String latitude;

    /**
     * 详细地址
     */
    @TableField("T_ADDRESS")
    private String address;

    /**
     * 创建时间
     */
    @TableField("T_ADDTIME")
    private Timestamp addtime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLid() {
        return lid;
    }

    public void setLid(String lid) {
        this.lid = lid;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getStreetNumber() {
        return streetNumber;
    }

    public void setStreetNumber(String streetNumber) {
        this.streetNumber = streetNumber;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Timestamp getAddtime() {
        return addtime;
    }

    public void setAddtime(Timestamp addtime) {
        this.addtime = addtime;
    }
}
